package edu.ustb.aop;

import java.lang.reflect.Method;

import org.apache.log4j.Logger;
import org.springframework.aop.AfterReturningAdvice;

public class MyReturningAdvice implements AfterReturningAdvice {

	Logger logger = Logger.getLogger(MyReturningAdvice.class);
	
	@Override
	public void afterReturning(Object returnValue, Method method,
			Object[] args, Object target) throws Throwable {
		logger.info("方法 "+method.getName()+" 后置通知开始执行...");
	}

}
